<form id="add-form" class="form-horizontal" style="position:relative;background: #fff" role="form" data-toggle="validator" method="POST" action="">
    
    <div class="panel-body">
        <div id="myTabContent" class="tab-content" >
            <div class="tab-pane fade active in" id="tabs_0">
                <input type="hidden" name="row[id]" value="" class="form-control" data-rule="" data-tip="ID"  />

                   <div class="form-group">
                        <label for="c-number" class="control-label col-xs-12 col-sm-2">位置编号:</label>
                        <div class="col-xs-12 col-sm-8" id="div-number">
                        <label for="c-number" class="control-label col-xs-12 col-sm-2"></label>
                        <div style="margin-top:-2px">
                            <input id="c-number" data-rule=""data-select-only="true"
                                   data-source="/adminht.php/slider/slider/lists" data-multiple="false" data-field="name" data-value=""
                                   class="form-control selectpage" data-rule="require" name="row[number]"
                                   type="text" value="">
                        </div>
                        </div>
                   </div>

                   <div class="form-group">
                        <label for="c-title" class="control-label col-xs-12 col-sm-2">图片标题:</label>
                        <div class="col-xs-12 col-sm-8" id="div-title">
                            <input type="text" id="c-title" name="row[title]" value="" class="form-control" title="title"  placeholder="" data-rule=""  data-tip="图片标题"  />
                        </div>
                   </div>

                   <div class="form-group">
                        <label for="c-href" class="control-label col-xs-12 col-sm-2">图片链接:</label>
                        <div class="col-xs-12 col-sm-8" id="div-href">
                            <input type="text" id="c-href" name="row[href]" value="" class="form-control" title="href"  placeholder="" data-rule=""  data-tip="图片链接"  />
                        </div>
                   </div>

                   <div class="form-group">
                        <label for="c-src" class="control-label col-xs-12 col-sm-2">图片地址:</label>
                        <div class="col-xs-12 col-sm-8" id="div-src">
                            <div class="form-inline">
                                <input id="c-src" class="form-control" size="39" name="row[src]" type="text" value="" data-tip="图片地址">
                                <span><button type="button" id="plupload-src" class="btn btn-danger plupload" data-input-id="c-src" data-mimetype="image/*" data-multiple="false" data-preview-id="p-src"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                                <span><button type="button" id="fachoose-src" class="btn btn-primary fachoose" data-input-id="c-src" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                                <ul class="row list-inline plupload-preview" id="p-src"></ul>
                            </div>
                        </div>
                   </div>
                <div class="form-group layer-footer">
                    <label class="control-label col-xs-12 col-sm-2"></label>
                    <div class="col-xs-12 col-sm-8">
                        <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
                        <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
                    </div>
                </div>
            </div>
            
        </div>
    </div>
</form>



